package com.edu.test;

import org.junit.Test;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class MyTest02 {


    @Test
    public void test01(){
        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("spring-ioc.xml");

//        User user = context.getBean(User.class);
//        System.out.println(user.getUserId());
//        user.sayHi();

        context.close();



    }


}
